View Issue Details

IDProjectCategoryView StatusLast Update
0002028T99X171.00 SKB EagleSWpublic2025-07-04 17:00
Reporter(ALTech) Younkwang Jung Assigned To(SW) Willin Deng Due Date2025-05-19 17:13
PriorityurgentSeveritys4-minorReproducibilityN/A
Status closedResolutionfixed 
Summary0002028: [UHD4] Request for review on changing AOSP(BFX-UH200) to ATV (schedule)
DescriptionHi Kinbay

BFX-UH200 are distributed in the field and SKB is considering upgrading them to ATV.

Please let me know the estimated schedule of how long it will take to upgrade AOSP to ATV.

Thank you
YK.Jung
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) Jong-Hwa JUNG , (ALTech) JunGyu Kim , (ALTech) Sangmin Choi , (ALTech) SY Yoon , (ALTech) Wooshin Kang , (PM) Sheila Tu , (Sales) Miya Wang , (SW) Kerwin Chen

Activities

(ALTech) Younkwang Jung

2025-01-23 08:09

developer   ~0017283

Hi Kinbay

Please update me by 11:00 AM (KT)

Thank you
YK.Jung

(SW) Kinbay Wu

2025-01-23 09:17

developer   ~0017285

Hi YK

We have no experience with this new feature
So we can't estimate this new feature schedule.
Perhaps you can ask Amlogic to estimate the function.

BR,
Kinbay

(SW) Liu-Ling Wang

2025-02-11 18:36

developer   ~0017314

Hi Younkwang

This is the sop to update STB deviceid, widevinekey and attestaionkey. All commands need to be executed under root permission and ATV10.
keylist_SKB168 and BFX-AT100_2019_002400001.keybox will be provided after business discussion.

Best Regards.
Liuling Wang
ReadMe.txt (1,497 bytes)   
*** All commands need to be executed under root permission and ATV10 ***
*** userdebug FW is needed to change as root ***
*** After setting up is complete, the device needs to be restarted ***

Change as root: "adb root"

1. Choose a Device ID from keylist_SKB168 and write it to BFX-AT100 (e.g. BFX-AT100_2019_002497673)
  1.1 adb shell
  1.2 echo deviceid > /sys/class/unifykeys/name
  1.3 echo $deviceid > /sys/class/unifykeys/write

2. For wvkey, get corresponding wv keys from keylist_SK168 file (e.g. 4246582...b47ec3b3)
  2.2 echo widevinekeybox > /sys/class/unifykeys/name
  2.3 echo $wv_key | xxd -p -r > /sys/class/unifykeys/write

3. For Attestaionkey
  3.1 adb push writeAttestaionkey /data
  3.2 adb push BFX-AT100_2019_002400001.keybox /data
  3.3 adb shell 
  3.4 chmod 777 /data/writeAttestaionkey
  3.5 ./data/writeAttestaionkey /data/BFX-AT100_2019_002400001.keybox

4.Verify whether the written Device ID is correct
  4.1 adb shell
  4.2 getprop | grep deviceid

5.Verify whether the written wvkey is correct
  5.1 adb shell
  5.2 echo widevinekeybox > /sys/class/unifykeys/name
  5.3 var=`busybox hexdump -e '16/1 "%02x"' /sys/class/unifykeys/read`
  5.4 echo "$var"
  5.5 sha_src=`echo $wvkey | xxd -p -r | sha256sum | awk '{print $1}'`
  5.6 echo "SRC WVKEY sha256sum=$sha_src"
  5.7 Compare the output of echo "$var" with echo "SRC WVKEY sha256sum=$sha_src".If they are the same, it indicates that the wvkey has been set successfully


ReadMe.txt (1,497 bytes)   

(ALTech) Younkwang Jung

2025-02-11 19:15

developer   ~0017315

Hi LiuLing

Thank you for update
I'll update you after I get and test the key file

Thank you
YK.Jung

(SW) Liu-Ling Wang

2025-02-12 17:17

developer   ~0017320

Hi Younkwang

Keylist and keybox are ONLY for "BFX-AT100_2019_002497681-BFX-AT100_2019_002497682" 2 units use.
Please try to update these information by sop, thank you.

Best Regards.
Liuling Wang
keylist_SK168-2units.txt (1,834 bytes)   
00:00:00:01:77:19 BFX-AT100_2019_002497681 30303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030305641532d62613130315f32303136415f3030303230303039 4246582d41543130305f323031395f3030323439373638310000000000000000f8a1fe47048c10abdd2877ad544441c700000002000033ec69906caf79ecd7d7d51e5e9b87a974575a6cc7e5e21ad7f9b419ae97635f6287abea5a724a5cc5880a7c56fe772bea939316fa23bff3ca26e343480e1d732ef06b626f78af8f5beb
00:00:00:01:77:1A BFX-AT100_2019_002497682 30303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030305641532d62613130315f32303136415f3030303230303130 4246582d41543130305f323031395f3030323439373638320000000000000000ff8276f6ea8fe5b10a1e3c043823ef8600000002000033ec55c17f4364fbf81517c450273acc8dcc5034739b32f5a33700ec9d9c428c942b040b69e7e9a591cb5a44cfd008ca6c05978258acf9be4ea959163ad7ffc1de656b626f78c6cdf3d3
keylist_SK168-2units.txt (1,834 bytes)   

(ALTech) Younkwang Jung

2025-02-12 18:53

developer   ~0017322

Hi LiuLing

We have no experience with Key
And I am going to test for two UHD4 STBs.

Please describe it in detail with the command in the mantis below.
https://btracker-cns.fii-foxconn.com/vaas/view.php?id=2028#c17314

Thank you
YK.Jung

(ALTech) Younkwang Jung

2025-02-13 09:08

developer   ~0017323

Last edited: 2025-02-13 09:13

View 3 revisions

Hi LiuLing

I am testing with test key
1) In keylist_SK168-2units.txt, is the location of the wv key fixed?
     I would like to know about the rules for extracting the wv key at keylist_SK168-2units.txt
     or does the wv key always start with "4246582.." ?

2) What starts with 30303030.. in the middle?
    Is it an HDCP key?

3) "writeAttentionkey" executable does not exist
     Please share the information about the file.

Thank you
YK.Jung
image.png (15,573 bytes)   
image.png (15,573 bytes)   

(SW) Liu-Ling Wang

2025-02-13 10:00

developer   ~0017324

Hi Younkwang

>>1) In keylist_SK168-2units.txt, is the location of the wv key fixed?
     I would like to know about the rules for extracting the wv key at keylist_SK168-2units.txt
     or does the wv key always start with "4246582.." ?
Yes,the location of the wv key is fixed, the fourth column. The wv key is generated by Google, we do not know the rules.

>>2) What starts with 30303030.. in the middle?
    Is it an HDCP key?
Yes,but they are analog data in keylist_SK168-2units.txt, we don't need to update HDCP key this time.

>> 3) "writeAttentionkey" executable does not exist
     Please share the information about the file.
I am sorry that I forgot to upload writeAttentionkey file.

Best Regards.
Liuling Wang
writeAttestaionkey (16,120 bytes)   
e���&}
N������m#���AI�<|L��9�w)��
�[h.h���W_���&bk�(����W����v��D�����8I�^ �'H��> �ŏ��k���:�2�:��Kp��J��^x��8�����L���nn>5�n�e/9��7,�^�j�|������L�ľ�e�-�8�;�mh��Q��b�n��L�Uʋ�B�����"�
���;�F<R��<=P��-���������:F�ߌ2�V.�	��r�]���Vm7���87:��Lte�#;�ŧs �ͦ�藟A�V�Iy�w�����yD�m����(3~��$l�
�� ��U
a���
���U�^\��Ɠ����x"{R�����f<���m�
-�h`�~��W��>1�%L��0�p�Ű#C�:�
Afm��\�&�j�ć�F�-E�=�ϯ���;qd͏�s�Zt��$"F��]**hu��=����t����)k��W�iP=e���؉�%���nA��뻌ʢ�ւ��h?ău!و�ϵ��F1��4�W+��&]Rvm�DWZŒ���>�#||D��;���پ�RS*����Q��Īy DaHT�1�B�G}2L3Gct�瞚���@MP�g+~����WbK�IP�=V���j������BD@SI�T4QR>��REeV���`
N	����AH�w�������~3Q�f���c>N�.���`�x ��i�mv�[�f�}�\����(�ۙN���T�.t����>�<BT�B�g��!�M3v^��s��O�W|���*�fz�������i�l��`�P��<☠��a�r�`�ϔ���3W���`߆�-d@�*��: o���枴�=�oa����H�(  @��s%5�/Q��9�5�hѐw��q���}�W�挕�#3��R�G��A����Ё4������+��ǣd��$p̜�QA��Xt��r�uI�E�[���<�e�A>p'���&K`�}�����ر)z���F돦K�l��#�K�eচQ�_1�����ħ#�0v��:�o��
�n�Xk
�К`�D����@���hY�Tḧ4�'i�֠aq��7k����o3��o���	�{�E��d�$�p5_�ݫ�t�a*G��NnDc��C3�"Ψ��
��H�
�I�^-''t�Z�b��v�������H��2(�J�\yդ�2�|�
=�36"3��F0uPұ$�sH���D�A�k}e�O������&����1��4{cu�~���H�t��s[������HZ3����O�0��&z�r2Q:$�<���V2�E�����nQ�)�2���rT�I��ָ���c�"�j��� � nE�`��@8���ή�h  �*�fN^U�y4�g�%n��_b���ɷ@.u�~^�<�
�c�)�A�4o
� ��
�4ړ����NM��/D֎ڿ����)��Mn;<�Ÿ�S���4CR��� �ܠ<��K��������*�{I���z!bf��[hj�)�NV��;�J�|R���BM5��<<��3p�\첛@<b�����HF�I�A�Glj3L1��A�����E�w�3�֧h����� �4j����?�4A��C��a��C@Ʒ� �����ZL�ܠ¾��C�����5���i;��v� �V��/�"N@���/���ș�x=A(�d��>�ݞ\�4:���G	v6Fo	=������ë|:�\8��@���b`ߛ���$��s۴��P�����a��#\���JO�h�����vS�3:8��E̳�;�v�:�57�7N�.��ݣ�
�+z�H(G]��Y�
߄Y�=%��k��L���IڲA��;��r=_���A�p(�Z읥g1��$�8����{{Y�o�)��/��EglusN�A�ב���pFH*?��� +k	�	�p_o� kNKVyv̓��\-+�3Qϣ�隻�H*Y`�̘��TG^4�9�U՚������-�w�D���̻jL2�av��V����;��]l!���:lz@a��J�Z ��5X���O<w�l���?�Yw�VMéZ�,�t�'����l�?MS�t�d<>�.���k�Gٓ �y�de�!��3qi�Z���0^ޡ��8���_�u�lDP=��k�k'xM9%��߾l�h�L��:M�����(�Yˁуȓ�3k�z`���®���Lv}F���aI9�W�e���\��4�HE��Ƀ]�).CL��Q|���+�T�T�^����9��v��+�
�56��v�z�"��^�3��Q�!�Dm+�%;=f�{�c���x���baN_��l���\�v�6U�h��q�䖲:C�r�8��Ss�3���'�M�G�Ƃ�8��;�CJ��g�Ac{f�-� *�)�pEd�zR|�Ȍt�v��%�B��<&��i�y�:k(������ės�,Ȱ
��. M�r�F�P�iO�z���kP̎�Ugj�A�7c�ao�hxPY�ӛ����bW�u�v�����J�o
��0b�`ʾWN�]䵁U�\Ɋ��O2���b����U�(U�;��w�=6E����7����
�8C��T�;�Ɵ�����hCQ����x8�x	�W��_� �{�P+D�	ݖ5,�&޾{M��d�M/�CnC]/0��~��|KK�A:��2_
=�y�Pya��,h}Qi�J�~EU���:C�jUк#Ub.�L�Qa���Q�J{�\5){?ɥD�H͆ӻF�T0�m��P���v0�6���Њ
�}��{�,����{�Q����b��A�c��(�}�k�*P�0=PN�)p�UA�s-n�1���"�n�ыx#k�.��s�-	u@qxg����b:��Y3�^��#���z�sD(�|����/>�wzL���%�7�2�u���ì�@��= ��P�
�ۑ�>p6����Н$���%79O:�r˲�3�W���B�9�\��Φ��iy������B�}I�픡�0�T��{h���h�J���`�l���ך�[�hTf���[�����q�Mil&^2T����G�KA�ϵ�F�k�@�NJ����d���uʛ%�uk������W�r��)��B�r��Y@ᎈk6�%��;�TM�ڲF�y�H�K)
��({&��"���|�-�-xU��}��6��\�*�(d�("c�%]���H��/�	P?~�^�"�'l��R)"���A_�
����d/�k�i�}�N�U��m�8)|����<ZEkYLj\���0,����5�bn��,C`�|g��{���7�d��VY��>�<�߾G��tX�Q����i Q�"�#�4���L{�%ڝ�Jb�1}�$e$���l����<*� nx�bК�S5t	��x�6����KVE�\uDn��+�A�2
'['�x����[$	�%��A�="�<���D��w��g/YH�/Q��a�<F&
�� ��_ ��S0��u<���J�Go��#��5���n�
ޅMZxuǰ	�5�����M'��0�+?v�-��sL�2��n���9���i���'�>��@��HJӔ��E�QECd�"+��aC��?^>`Sцy�Ja5M;�3�����i���!¥L�����/���"�,	�߸��r����]H
䢶�'��P=P�S�u�؟G������<�����?�O��h��<���3ƹ�]�ˀs�a�a!:~қ�J�.�;`��c9V9����ws��l4��!�?�&�T�U��=_s�-�u-`��ކ���r����yH~�@�DƲ g[��*�"^qH�Z��[�?6P��v*l���KR{DOߞq��5˽��,/��҂�jz�-��8k�`���$�6m{5(�!x��G�
1�u\���ՄD�->E��$Xy��'�"@��Ʌ�~Ɍ߄�_�p�S����3>:�?N�2�٢���}�����馝�q�T$�@;}v=�NH�	��q�e����&��iz
�?eQ�fah��ޏ �:�3Ī�Y_���>i(���j��ۤ��Wz�_I2:CS�_4;�V�7�Mۊ�vt
�CWS�O�>3Y?�&&��/Ex�aU�*z����*8u����W��dM�6��Q�Ѱ~��}g�@\!2�f�j!~�·���)��5� 4�M����=��*]w|�!�Y&LT�q���	@�bbt? (�L��#/l跖�������DOj�	��h����6v����5v�������ϋ��ePEt_�D����D7j����P��Ţ�;r,�.R��ť�(���R�"+�-�y��6�.kL;�C�ʝ��1٢��/�p3k��jQ�0xG r��Z�ž�Y��?���&���Ԁ�*�7���F�Y�<�G�`�%�9�5
[���=݇K��໴����ib�Ș#c^��,]H%�2t��2�e0�|�	��+�ɿ!�]��
�4L���,O;�3l�O�g#1�h����ݳ����M6��M$u�B��W��U�bb�8���3�m0�͜
��(�!���İ�{��f���~�7� �|�9��p`h���C�܆b �ϋ�![�]�RڂCR̥^ˢ�����[�,��X~G1`��\����O?�����w�^��Z��ϜD�4�1������V�����(�V�D�BZ��n����9N(M-eP��X�[^��5�<<8�iu�Ӧ�Hg����N��q3�CO��b��RK=�d�7�<hI�(e/R+pt�^�5��?���gB��έ*$����3���f/���"*b<��ᅣ��9ۺd�u"O�e�*)�X�	�����MC��/��ٓK��� Ԥץ
��Ci�K�QI+$�R�:�S�q����؞���<�AK��i`��LF��zVP49͆T��v�S��j۰�J���f���Z��=�"Y9�@G���<��<����.m&�_� ���˶�\�`�������|DY��aIn:D^�u�p��'I��-!d�V
+M� ��iWo[��"�A
(�N���3��}�U� _���Z%G�e����0��_�?
K��!��e���z���FS�4�>�g���"l�]|���9v�C°�$�N��)\�V�3��\[;��ɝ����9�zˮ�����;��gV�ٷQc�
��u(���d�hDpw_8�o	2
�S�&����@Fj��"j ��<���9QG���뢟�Jv^��D3��8Z���H^OR�м�l�B^�-%hV�\�P�gS��/,����� �֊A'o��������:T�Q}��2T��5/���2e8Xp1�~�H6�@���Ө	٤�I����u�A�\b�'�xȉ5:��E0Q��!B��A1���*����ΔӞ�G�(끕$v�j<�Yq�=����P�#�b������E����d�G��a9"�^|cm��d#4 ��dS�-�����|�Ɓ?�3(���J�T���2�=S��_
��0��O�6�+n�	{��[�H 
�x�.�}ʐ��ʃ�.�,�O���1p|�\:�Y+�%
I���8M��R�E��U��V�6c��?�Fܡ�B��*y�ہx��=�����%Ȉ���ź�by�ro�~��Q�sC�PG#���qB"_Iz��*�NL�_$��l�HN��f����]_s�.yQ&��� �V���8U�֓*6���U|�q��Lg���2�p�4wƱ�Vu�U�����c�Lm:��Q�Rh,oo�r#��s%/Ƹ뛗�tz�.�a�
�-���ۿ�بɫ��
5�F
���w�vh��'o]�`k%�
z_L�������2:𩟼� +]H��cj�3�X Gfж�E�S
�9�F�__W.�g ?����Q�`|���K�6>AC�����-a�S^�
�5���l6Z`����i��0SE9I-�A���Z�N�i���r�;�=.-�N�����f�`�޷)6B��Wuv����?ӗMaOl�{�ey�`����v�8��"v�<sLe����������{*�3��~X"�gzױ-���ū�pÚ�,_7�PJl77[zj��xU����rfc=�7�X�19BU���;��E��%@BI��B+��>^���8w1�b�5h�M����S����\C+��������HW�L�L���ի
5`�0�N���O�tr��⯝t�r�M�X�$�P�ㅁjL��ی���(�h�3�,���K��l�J��a�'ϩ�+�GT.�4�b-@���g,!�$�a�[F��y�Q�u/���B˙P�XX��Ϥc9���v��H�k��ܷ��
�0�,�b�v�6!v\ŇffMR���Vў����|�6۶���l�!g}�f
����0`����)�,:l��g������`/�D�^��KY��r#�˴��*]�{����!z�̜�
�}宫�~�����C��|�KJ ����ρG`��t�v�D�,��-��L�o��kê%d���kv���`?I[	�;L�iLk
Z�K�œPp��"͏M����9q4M&u��xX�U��¾�������%Ђ�
�P3%�-�{�Y�w�����=RI��\
U���ѻ�(��v��5vi�����MVKes�t�iE�g,P�����{"�����;�ю)m����w�5��,N1�d}W_S��X>l,����'a�{�<�!�4��(��}�0G������_!`u�Q��O�w2۷$�vӹ\��YJ]c���C�ٕ�:�?�2�
*z6#�2��/�?]aQ!ۣs}��%�f��n�=ۻj�߮��d�&�վ��i��oENןo<!���K*�6	�~:�(e���N��7���j���u��gM 7=J�,��8�Z�N�X�y�y�j}�0�Y�Bg~�$[��� oF�x$u�WJ�y-���*E�8�\2����7β׉�a�؏�jUw;SF����\˅=h��!o	�<���7��~�Dz�Es��Wl�^r�}X8�p&b�-h��;����#G��ߺ�Ww�	�ye�����8C���SsZ?���_=*ͻU���2j�%|���oT_"��`si�D�b�"�R#���i�&[�*�2��� �\D�W~�}����۰���������K.e�������*r�>�d�s4z�S�"���C>pq�+1�9����E(�ȶhv��a��)��x?��m�)-��RԷ�'����L������A�#�$��z���j��E;d��v�#C�ƊZf��xhÎMD�],����ހY[1�̼��?_?� Ҹ8e�>$1��-�;7�,�E��J�)�ptz��I���.C�{����˃	j�xiì�~M��r����5�/SVJ�\u��3c���+���Ω
H��4�iT�#�y���Dsˡ<��[Y���-;���L�{�倊��ҍO�^�]p��}Y㊸&$��r?�wG�C��A�	̺ͻP��c�؄/c����~�� f�B�:j���5Bes-�O7�(�աd�Q��1|�'�k�F��݊����v�x�D�[���S�o�Z���t��$�'������W�)&��֌ϒV3$s�97�ܭ�瘲l�!�`�NPo�0r+���OPT���_,Ɏ���(
u|*a��)���k���97�,�J�8�p�$WKWZ���F�W�s�a�'M>Ѧ]GTф�1���Z��2��1�)kLYf����g}	�xqˠ����Ծ>����R)�IhL��K}M��ܰ�.hP�^=��|Ư����%�D'Io��.�
X�Z[����K3O�d���2b &��
���A���B�v��iFXo6˸`?N���A Fc��M‡���K�u���yʂ��6@4�u�����z��1k!���3�)�>�<Fu�z�(��#�_��ڊϬ<
�xy/��G$b�(�`���I���u�X�C�x>���$�5ӗ��&�W�ÿ9y#z#xL��`j�i�4"��Y!���^�%�j���>.I�*E<��M�}m�󢋖�����(����2�<�q_��k�p�QqÁ��$#�~Z��D�>�-�1�!O�!г���ɳ�8J�w��@ٿ��:N�?�
��2�X!��Dx9�;1g#�ù/������S���1żkNЁH�ylA�tt���,�l��!i�%	�"c�
R�ۈ6aS;a����(+����R��^@7�0�S��\����f�� ��X�߮!Q�����/&�[���r�=)j���"�+�o�d'�T�NG+��Jۖ�ڹ�D;�֙�7�k��vԹ�ʶ����-�W9`=Um�gd;���_<h�s�8���a]�)f��ģ������!s��/�_��d�X.Z�?L�U񹱶�#>d)�B6u_�M��X�財��1t�>҈�7 :���d=j���T%�?��̝�DܚX���j�s��]����M'Ig�t}�ζ�A�X��XJ����d�.�y�`C�P��.�t*��U�M[�ρͮdg:}��S�Nkz9z�1U|��8�#�2X%���p��6���f=#FEî`��鷮nT��7]˫W�0�I]=𫢜�ݮ؄�yDȊ�\O���	�w�m}�����0�N����<�m�4]>)>g*�Gq3>=!��%�,��������a���	�Ҋ2�.�?Y�ѻL���d<{J#��2���=�RƶZ*L����)��
����1�1v�����I��Z��F*��,
_i��T~�0��
b�i)A�u��G���V��g�%��'Yd�I��������8.~훳�~8���򃛧$`��㍭&����X
��zce���9����ʂ`&�F��w��ýZ�C>.o�Z�şo�"� (xN|���͜���[�)cW�����T|M���R\z��X2���<�,F4��
��C��}x7��1�\_�Xm.nYuڰ��9���X��q��,8����#\{�3�m���=�kK�Nx���5�y�%I�q���ă�ImcQ���(���PV��Y��p�
�=�.��V��o�ޓ�գD��: �)H%�ʮ�7 O�/�Zg�&A����xO`@s�S�y�J�̬@X�\� �ڷB�f"�|�>����X-��b�#hXQ�E�����piZ�=ϸ6T/��7H�e��>D����մ��Q�=������x�ʔI�Q`�ZNu��Y
ߥ�lJ#rn�Xn�A�r�{��ٞu�
�?�f�˔�����N{Ԧ5��2�N
��)|
���IE��9kb;W�N�� ��<��=,��(L�΄�M)N�0��0���3�1K�3�� L�c��e���6<'�W��|1#��`���"K��X{�{@�f}瑹����y�:�,��V{�2�D�H�ӭE���~#�j�4|/k�1��6� x#���F
,�s��a��.7hp���Kj�E�I���Ř��,��χ�>q�C���0%	fc�#���4�Q�%ױƮ@\L��
#A@��!��l*kE�,��[��|���J]y�%7T�|D��a~�!Ҥ�uM���"1�W��7r	+�E(�e���'l��}>H
�
�cR��{o��e��O�$VQ��k�"�M�td�3HwD�h�L ����Q$i����,�����S^�C�)E8��>��ɛ������ث<̐W8p�6.����,��o�+�j��~����� ��y �l���j�d�#�~o7��v�#E�f���CP�z;�+�-j$����B���a̙��8O�֬�D��`�q�@9�r�=��,��K�������XVe j�v�p����V�k_x��<���ͭ���&�ԝ�-�k$�1˖s"���s��K������a�]NЀP�O,f�K<(�u�?5֮��T ��{2�1��(i�|�zސl��/#�1f��l�@Q��^����p�}O�o{f���� ߓ�?���>�
ZHu ��q3]PZ1��s�饟i4��X���U���I�So� N�#9���˶&���ᾈ����i���Nf���XY�|3��dxu��R �/:������‹@��Йc)�2�k�m�fi��u�"������(�֑X�����-dh]B���^��Sy���Z�� KՉ�x��(��vw��4��Z/I}�
� �uN��ބ���d6vk]~x��ȫ���U�f��-��Oq�,9r��Q,=��8���Qs�}�t�w�Ƨ+�..���GmV�����^ʐ�.�F�o�{�ִ��/�.���i�]��w�!��ϙ3}�:
����u�%2:�IC���.���섞f���JwH'ƿ^w7†��"K2C��+���|�.���B[يf�~/��A]�}�d�S~ @ޯ�P�Z7�A���ByZ!����"�a����+����&�%�_V�'ֽ�� �=��#͚��M�ъ$�"��l�A���a��,�3��m۰�#��楯��r�8����N&lm��/�f
|Ѵ�+�� �v��x��I͐G��>��YN+�|k��7D�&�)ݛ�آW�R�>�\�����?���YL0�����s6�t�S�^�~M��@��^zq���	��Q#�f��h�P��<3�T�l�R����9�/h����@����c�/
�F^��OGIq���o�8�ӤTDL r4�);�z=nnh9Fj�=�ߴSR��h�#U���c��SU2�"֢eU
H�j��5:r��;BT|Ai�֕φ.�s�u�7�M`�-?0@��נR�mo�𿗞 3?	p����G����ͧ5{I΁ZBy"-�E8y,�EMT,�)��
�咤�X?43�}������Vd"4,Ϫ椣�e�&�mG筄%�|��mDN�	� �ى�
����+>�����,�SG8~��l��?���y���4/��ߑ�N�r��és	�z�h]�Qw�R[��S��t���(M�H��\�t�tOڇ�R�j���W�fo�M��1'q��>
X�X�F�����^HP��?�7Z�D�
"8��c�~g��v��@�ع�T����[�Ҏ	W��A�<
pd�q4�\ �	�.���G%m������:�
U�Pf4�Zp��rh*j[u����Y˜ٟ/Ც)v�b�:�#f��C�Y���������G�����z	B�Z@)�D��a� ��a�ٓ�J4}�N@?jָ�@��R.b2s�8�#{��
jS4N�p0���-����$� �z���Q�ܖQ;+.sR��1�K�K4�#�1%��Sl�w�B����2��:Pu���`L*P��{����Q�g����T8T���`i�Æ`�c?f>��	j��l�� n���VA;��������f�\d~����E��� �j2��$G�1��xjX��5�^#���3�M�j�H��yh�R��'F�����?d���e�Q��� ���w4��NΪ�
��Z�A�!��A�MF���۔2����$ڐ�>סǾ$�p�6���+���@�r�9Z�v�i=\dwJ���K�Q6�ۉd)�I@KCZD`�T�]W�=8e�ܕ+�@�רAq�o�L�����@/ݭ 5����`]lG�38p �B<��}3(�z��CEej���W�����sz�u��r?�mu��W��y���&%e��Y��xKY��i�2$���n�<�����r�x���p�i�o��
طV���s�C#��w�RY�L$H����c��8?H4���f\�ñ�~���R	#`ṟ�9�_Q�z��h�V��M�,k��i�b�n�]A�
�g<����}�0��|t�i���
]Tb�lC�l�]N�;3��c�v�cpS�[�$?I�)��#7���ʱ�
kI:��|J���6�|3l��:��>��g�Ly�Q�n����^�   	      GNU gold 1.12   A5   aeabi +   ARM v7 
A	
"&�7zXZ  �ִF !   t/���	] ?�E�h;�ަ”�$f��]
4����;��97׮�c l5��Y8]�^ԡ&S��S
�)YCu>]s�f�dI�5���P��s�nPk�����=��!Q�W�߾p��I����+�֩.v��VP�ٷp�2.Ƿ5ׁ�Zt ���W���XV�����D%��16.�:Feɺ���/�f�W�j�w��H��
ٜ{���2���}[�v/�;�Fm���)H�筑����?HS�۳u�<��N4�A�6�qF���&�t���#���`����b���X�x)�xW}�J�ivXh�m�-b�h���>���B�vGF�,�Cx!�Ρȅ�D^�\2��i��y�3x{����(�R �����M���	�
p�V� ʝ�����ig�1�D�6W��3���zqa�=�vk��;�#�N63a�c"sv�M��=w7?�" �?Mz��04�\���V߉`T��Yj/Ӏ?�#Z^�m
]�s�?�m�06���61�	w�{�8nL���K?T�?�Fm%8�?��A��ı^Mo�ڛ��
s�P��  NS���Kmh��n��J��@����2�.�yRQ"��
,�gL��Ũ��a�|���B�w�����[/���K��Xp��*�R�� Y�������â�I=����w&�ɸ�6��"IӅq�s�3�-�!(v�Ĺ���h�J�a���q�@K��Ogtb�*4:r�G=}��`�f�rn�[�cvZ�.A��Sa����p��A��Qҙ���5���l��Cq�32��1�lj)s3x6 ��"eD�X�&a�7��r���x�ьje�Fw<z�J��"�=*`F��}��
�q�S�����<Ȍҋt�iv�7� ����Fa�SP�N�H(����B+:�q}"�sc�L���cM�̧����ޅ뾵�=1����h��v�-s�d9u2e��Y�83
(I�Z��w�կ#|�j�V/U�!�h��H�z�I�\���c��|�G١�j���(�l��������N*�N����F5^I��b���
�(u��vԤv��Y����,���]�\6�:�7����<e��@:5�d鑢'��s�d~͗�S���R��Q����&�%�˨�<ݗ�|� �4�6�5�Ɩ2�]�r���E��)���!��t�8�߻�d1��XAw��f͡ej-����{c�[��%�2O���k���6cH��^�TR���1��hC�*�g4�������'�hL!�Źk��<����.�u\��&^]|Ӏ�MJ�…e�m�"�%��{u���& I|�/
�a@�+0�,���5���<�1�6fs�2C��6�؛x�I��R���qR�]
���ǀD��1$M�C��`>$	�p��p�	h��!�x�-(���s��;S˅��աT�M!L��+����
��!�;�'~��*��M�ewPM��mqUv���R5�=�F�!��L���RSg����*��B�±<�hi�����X��5
�r�Oh1�;�~qAI�+�Y�2�s��s"��t3��!v�Ձc�I�,2r#\C��@��7��m�a�W�i�ۖ���7hs�6�a��g��֣�#ot8��Xړ\Ѩ�s`>�!�d�
�9H*�j�.x��9fl4m�a���BD>�����a��h]����<�8Z�D�l��u]��O���o�7u�����<>NOnw!����LO:��N�e����~ҽ�9��fc�l��yp�l2�!f1�)"O���6�h���G.[K?�7#�*���z�	���0@��G	��&��%�&.S?����y��#�J���L��*W5	��v�%�Jf��n>��fU6a7=�e䌡-��"9}�J�]��og^}�xM[��A�;���9�q�T����m���VZ�YVE<0/9M ��D�Uͫ"����Ef"���"ň�_
 ��W�oo��5xV�t� ��8PN�N�{��{���B��{�̸1��	���X�8P"O��c��.��{�����9��ț!Z:q�f_��ٔq�|˜�͐�J��Ϋ�!�A�lQ�\w;f�zo�;�,������iOc���^��w~P�'�c��M���2��������ȳ���ο�"`����Z�l-XƘ�O�-q��ı!��2��)��+�)d��(�^�@�!��H[,���)�й��)|U����iHh-�8��ug�:���oÊ�R�"#v\\C0)�Stk���P�.
��҅(��CL�	�Z$�ǔ��ԫn���"    �UH��� ��=  z}����g�    YZ .shstrtab .interp .note.android.ident .note.gnu.build-id .dynsym .dynstr .gnu.hash .gnu.version .gnu.version_r .rel.dyn .rel.plt .text .ARM.exidx .ARM.extab .rodata .preinit_array .init_array .fini_array .data.rel.ro .dynamic .got .bss .note.gnu.gold-version .ARM.attributes .gnu_debugdata                                                     T  T                             h  h                    '         �  �                     :         �  �  �              B         �  �  Z                 J   ���o   �  �  ,                T   ���o       >                a   ���o   X  X  P                p   	      �  �  �                y   	   B   p  p  �               }                              �         (  (  �                 �     p�   �$  �$  P               �         �%  �%  $                  �      2    &   &  �                �         >  .                   �         >  .                   �         >  .                   �         >  .  H                  �         d>  d.                 �         |?  |/  �                  �          @   0                    �               0                        p        0  6                               R0  H	                               �9  #                 
writeAttestaionkey (16,120 bytes)   

(ALTech) Younkwang Jung

2025-02-13 10:57

developer   ~0017325

Hi LiuLing

Fail is occurring in the operation below.
=================================================================================
127|BFX-AT100: # /data/writeAttestaionkey /data/BFX-AT100_2019_002400001.keybox
/data/writeAttestaionkey[1]: syntax error: unexpected '}'
1|BFX-AT100: #
=================================================================================
please check it,

Thank you
YK.Jung
image-2.png (9,790 bytes)   
image-2.png (9,790 bytes)   

(SW) Liu-Ling Wang

2025-02-13 14:02

developer   ~0017326

Hi Younkwang

Please try again, thank you.

Best Regards.
Liuling Wang

(ALTech) Younkwang Jung

2025-02-13 14:26

developer   ~0017327

Hi LiuLing

1) The result of writeAttentionkey seems to be OK.
    But how do I verify that it's written correctly? , ( image.png )

2) The result of widevinekey is OK ( image.png)
    I compare the output of echo "$var" with echo SRC WV_KEY

Thank you
YK.Jung
image-3.png (13,046 bytes)   
image-3.png (13,046 bytes)   
image-4.png (34,148 bytes)   
image-4.png (34,148 bytes)   

(SW) Liu-Ling Wang

2025-02-13 15:59

developer   ~0017329

Hi Younkwang

To verify attentionkey, you can operate these commands as below:
============================================================
// Attestaionkey sha256 from file
shavar=`sha256sum /data/BFX-AT100_2019_002400001.keybox | awk '{printf $1}'`
echo "$shavar"
// Attestaionkey dump from unifykey
echo attestationkeybox > /sys/class/unifykeys/name
var=`busybox hexdump -e '16/1 "%02x"' /sys/class/unifykeys/read`
echo "$var"
============================================================
Compare the output of echo "$var" with echo "$shavar".If they are the same, it indicates that the attestaionkey has been set successfully

Best Regards.
Liuling Wang

(ALTech) Younkwang Jung

2025-02-13 16:03

developer   ~0017330

Hi LiuLing

Thank you for update
I'll test more various cases , let you know if there's anything questions

Thank you
YK.Jung

(ALTech) Younkwang Jung

2025-02-13 16:37

developer   ~0017331

Hi LiuLing

I wrote a another wv_key in the presence of a widevine key, but the var is not being updated.
========================================================================
  echo widevinekeybox > /sys/class/unifykeys/name
  echo $wv_key1 | xxd -p -r > /sys/class/unifykeys/write
  var=`busybox hexdump -e '16/1 "%02x"' /sys/class/unifykeys/read`
  echo "$var" <-- not update
========================================================================
The previous test was without a wv key
I think we need to do clear or erase in the state when there is a wv key at STB
Please check it

Thank you
YK.Jung

(ALTech) Younkwang Jung

2025-02-13 19:22

developer   ~0017332

Hi LiuLing

I tested it again and it's being written normally.
Please ignore my request (#c17331)

Thank you
YK.Jung

(ALTech) Younkwang Jung

2025-02-19 13:53

developer   ~0017339

Last edited: 2025-02-19 17:28

View 3 revisions

Hi LiuLing

To make sure
You only gave me one attestationkey. (BFX-AT100_2019_002400001.keybox)
Can I use this one key for all boxes?

That is
For widevine keys, one is assigned per STB, and we can use the attestationkey in common. Is it correct?

Thank you
YK.Jung

(SW) Liu-Ling Wang

2025-02-19 14:44

developer   ~0017340

Last edited: 2025-02-19 15:28

Hi Younkwang

>>That is
     For widevine keys, one is assigned per STB, and we can use the attentionkey in common. Is it correct?
I am sorry, We need to discuss internally before replying.

Best Regards.
Liuling Wang

(ALTech) Younkwang Jung

2025-02-19 16:51

developer   ~0017341

Last edited: 2025-02-19 17:41

View 2 revisions

Hi liuling

Please ignore this contents.

Thank you
image-5.png (392,013 bytes)

(SW) Liu-Ling Wang

2025-02-19 17:05

developer   ~0017344

Hi Younkwang

>> That is
          For widevine keys, one is assigned per STB, and we can use the attentionkey in common. Is it correct? (#0017339)
After ALT confirms the required quantity, Fii will apply both the Attention key and WideVine key.
For the WideVine key, it's assigned per STB.
For the Attention key, it follows Google rule to assign the corresponding quantity.

Best Regards.
Liuling Wang

(SW) Liu-Ling Wang

2025-02-19 18:11

developer   ~0017345

Hi Younkwang

For comment #0017341
The user-side fw must be approved by Google.

Best Regards.
Liuling Wang

(ALTech) JunGyu Kim

2025-04-21 13:09

developer   ~0017493

Hi Liu-Ling Wang,

During the test, Chromecast did not work, so I checked and found that Chromecast does not work in the following cases.

1. Write widevine key with UHD4 (OS 10)
2. Check the chromecast is working after upgrade to Smart3
  2-1. Update Smart3 (OS10) -> Chromecast is working well
  2-2. Update Smart3 (OS12) -> Chromecast is not working. On the Phone, "Untrusted device" message is showing.

I already checked that the SHA256 value of widevine is same between Smart3 OS10 and Smart3 OS12.
Could you please check the there is anything I missed?

Thank you.
Kim

Hank Huang (FXN)

2025-04-22 15:24

developer   ~0017500

Hi Kim

The "Untrusted device" error on Android 12 with Chromecast,specifically affecting second-generation Chromecast and Chromecast Audio devices,is caused by an expired certificate.Google has acknowledged the issue and is rolling out a fix,which involves an update to the Google Home app.If you've already factory reset your device,you may need to set your phone's date back before March 9,2025,and then set it up again.

Explanation:
1)Google's Fix:
Google is rolling out a fix for the issue,and users may need to update the Google Home app to the latest version.

2)Factory Reset:
If you've already factory reset your device,you may need to temporarily set your phone's date back before March 9,2025, to allow the Chromecast to connect to Wi-Fi during the initial setup process.Once connected,the device will then update.



Some questions are as follows:
Q1)Is it second-generation Chromecast?

Q2)What is the version Google Home app?Is it the latest version?

Best Regards.
Hank

(ALTech) Younkwang Jung

2025-04-22 18:09

developer   ~0017501

HI Hank

This is a key update issue

Let me explain the issue again.
When tested, if the widevine key is incorrectly in the STB, the "Untrusted device" error is observed and the Chromecast does not work.

> In Smart3 OS10, the correct sha256 value is observed by writing and reading the widevine key in the following way. (chromecast is OK )
BFX-AT100:/data # . ./wv_key.sh
BFX-AT100:/data # echo $wv_key
4246582d41543130305f323031395f3030323439373638310000000000000000f8a1fe47048c10abdd2877ad544441c700000002000033ec69906caf79ecd7d7d51e5e9b87a974575a6cc7e5e21ad7f9b419ae97635f6287abea5a724a5cc5880a7c56fe772bea939316fa23bff3ca26e343480e1d732ef06b626f78af8f5beb
BFX-AT100:/data # echo widevinekeybox > /sys/class/unifykeys/name
BFX-AT100:/data # echo $wv_key | xxd -p -r > /sys/class/unifykeys/write
BFX-AT100:/data # var=`busybox hexdump -e '16/1 "%02x"' /sys/class/unifykeys/read`
BFX-AT100:/data # echo "$var"
7f3bd4d7566180ceebe84a7f55f6a33155cf7c9f49ca077d881d4fbb36174f65

> In Smart3 OS12, the incorrect sha256 value is observed by writing and reading the widevine key in the following way. (chromecast is Fail "Untrusted device")
BFX-AT100:/data # . ./wv_key.sh
BFX-AT100:/data # echo $wv_key
4246582d41543130305f323031395f3030323439373638310000000000000000f8a1fe47048c10abdd2877ad544441c700000002000033ec69906caf79ecd7d7d51e5e9b87a974575a6cc7e5e21ad7f9b419ae97635f6287abea5a724a5cc5880a7c56fe772bea939316fa23bff3ca26e343480e1d732ef06b626f78af8f5beb
BFX-AT100:/data # echo widevinekeybox > /sys/class/unifykeys/name
BFX-AT100:/data # echo $wv_key | xxd -p -r > /sys/class/unifykeys/write
BFX-AT100:/data # var=`busybox hexdump -e '16/1 "%02x"' /sys/class/unifykeys/read`
BFX-AT100:/data # echo "$var"
f8d20e598df20877e4d826246fc31ffb4615cbc059aec9ec8e5b28951d844a3f

> you can check the exact SHA256 value at the site below.
https://emn178.github.io/online-tools/sha256.html
I have also attached the image file.
correct value is 7f3bd4d7566180ceebe84a7f55f6a33155cf7c9f49ca077d881d4fbb36174f65

And when I tested it, it's operating as follows.
1) Update widevine key on Smart3 OS10.
    chromecast is ok on Smart3 OS10
    sha256 : 7f3bd4d7566180ceebe84a7f55f6a33155cf7c9f49ca077d881d4fbb36174f65
2) Update to Smart3 OS12 FW.
    chromecast is Fail
    sha256 : f8d20e598df20877e4d826246fc31ffb4615cbc059aec9ec8e5b28951d844a3f
3) Update to Smart3 OS10 again.
    chromecast is Fail
    sha256 : f8d20e598df20877e4d826246fc31ffb4615cbc059aec9ec8e5b28951d844a3f

result : If it is updated to OS12, the key is being updated again, and the value is maintained.

I don't understand the situation above.
The key-write command FXN gave me as a guide is causing a problem with OS12.
Please check it

Thank you
YK.Jung
wv_key.sh (274 bytes)   
export wv_key="4246582d41543130305f323031395f3030323439373638310000000000000000f8a1fe47048c10abdd2877ad544441c700000002000033ec69906caf79ecd7d7d51e5e9b87a974575a6cc7e5e21ad7f9b419ae97635f6287abea5a724a5cc5880a7c56fe772bea939316fa23bff3ca26e343480e1d732ef06b626f78af8f5beb"

wv_key.sh (274 bytes)   
image-6.png (51,461 bytes)   
image-6.png (51,461 bytes)   

(ALTech) Younkwang Jung

2025-04-22 18:23

developer   ~0017502

Hi Hank

And I will also share the Smart3 FW.

> Smart3 OS10 15.541.66
http://altserver01.duckdns.org/build_bot/BFX-AT100/OS10/15.541.66_BFX-AT100_5.4.1_VCS_2024-0229-150728.xml/

> Smart3 OS12 15.543.44
http://altserver01.duckdns.org/build_bot/BFX-AT100/OS12/15.543.44_BFX-AT100_5.4.3_2025-0107-150510.xml/

Thank you
YK.Jung

Hank Huang (FXN)

2025-04-23 10:28

developer   ~0017503

Hi Younkwang

And when I tested it, it's operating as follows.
1) Update widevine key on Smart3 OS10.
    chromecast is ok on Smart3 OS10
    sha256 : 7f3bd4d7566180ceebe84a7f55f6a33155cf7c9f49ca077d881d4fbb36174f65
2) Update to Smart3 OS12 FW.
    chromecast is Fail
    sha256 : f8d20e598df20877e4d826246fc31ffb4615cbc059aec9ec8e5b28951d844a3f
3) Update to Smart3 OS10 again.
    chromecast is Fail
    sha256 : f8d20e598df20877e4d826246fc31ffb4615cbc059aec9ec8e5b28951d844a3f
>>Have you re-executed the key-write command after Step 3?

As far as I know,the key-write command is used in OS10.

Best Regards.
Hank

(ALTech) Younkwang Jung

2025-04-23 11:13

developer   ~0017504

Hi Hank

>>Have you re-executed the key-write command after Step 3?
    It is being written again normally.
    chromecast is ok on Smart3 OS10
    sha256 : 7f3bd4d7566180ceebe84a7f55f6a33155cf7c9f49ca077d881d4fbb36174f65

>> As far as I know,the key-write command is used in OS10.
    After writing the key, we have to upgrade to OS12.
    The write key value in OS10 is changed in OS12.

Please check it ASAP

Thank you
YK.Jung

Hank Huang (FXN)

2025-04-23 11:27

developer   ~0017505

Hi Younkwang

The key-write command is only used in OS10.So please don't use in OS12.

Best Regards.
Hank

(ALTech) Younkwang Jung

2025-04-23 15:47

developer   ~0017506

Hi Hank

we write Key on OS10.
However, if we update to OS12 FW, the key that was previously written will be changed.

Please check it

Thank you
YK.Jung

Hank Huang (FXN)

2025-04-23 16:51

developer   ~0017507

Hi Younkwang

Can you provide the steps for the upgrade?

It is normal to write Key on OS10 and update to OS12 via OTA.

Best Regards.
Hank

(ALTech) Younkwang Jung

2025-04-23 19:19

developer   ~0017508

Hi Hank

You can check with the FXN engineer.
And the upgrade document I have shares

Please check it quickly.

Thank you
YK.Jung
how_to_FW_upgrade.pdf (899,254 bytes)

Hank Huang (FXN)

2025-04-24 16:00

developer   ~0017509

Hi Younkwang

We don't have Chromecast device.Can you help capture the logcat? We need the debug logs from when the Chromecast connnects until it shows "Untrusted device" message.

By the way, we will use factory firmware for retest.Please wait.


Best Regards.
Hank

(ALTech) Younkwang Jung

2025-04-25 08:57

developer   ~0017511

Last edited: 2025-04-25 08:58

View 2 revisions

Hi Hank

You can test it, too.
https://support.google.com/chromecast/answer/2995235?hl=en

1) Prepare an Android phone.
2) STB and phones(wifi) are connected in the same network.
3) Run Youtube.
3) Click the cast icon above YouTube.
   If the widevine key is not normal on the STB, the "Untrusted device" window is displayed.
   If the widevine key is normal. youTube runs on STB

Thank you
YK.Jung
image-7.png (470,289 bytes)

(ALTech) Younkwang Jung

2025-04-25 10:28

developer   ~0017512

Hi Hank

I received the following usage command from FXN.
===========================================================================
..
2. For wvkey, get corresponding wv keys from keylist_SK168 file (e.g. 4246582...b47ec3b3)
  2.2 echo widevinekeybox > /sys/class/unifykeys/name
  2.3 echo $wv_key | xxd -p -r > /sys/class/unifykeys/write
..

5.Verify whether the written wvkey is correct
  5.1 adb shell
  5.2 echo widevinekeybox > /sys/class/unifykeys/name
  5.3 var=`busybox hexdump -e '16/1 "%02x"' /sys/class/unifykeys/read`
  5.4 echo "$var"
  5.5 sha_src=`echo $wv_key | xxd -p -r | sha256sum | awk '{print $1}'`
  5.6 echo "SRC WVKEY sha256sum=$sha_src"
  5.7 Compare the output of echo "$var" with echo "SRC WVKEY sha256sum=$sha_src".If they are the same, it indicates that the wvkey has been set successfully

===========================================================================
We need to make sure this is the right way.
This step is works fine in OS10, but not in OS12.
Please check it.
Thank you
YK.Jung

(SW) Willin Deng

2025-04-25 18:33

developer   ~0017513

Hi YK,
status update:
  1.we are replicating the process of the production line, covering things from the factory FW & key burning to customer FW burning, to verify the status of key changes.
  2.the issue of widevine key changes after OTA to ATV12 has been sync to the AML TW FAE. AML TW FAE informed us that AML KR FAE is currently addressing this issue.

If ALT has anything new, please inform us , and we will conduct local verification simultaneously

Thank you

(ALTech) Younkwang Jung

2025-04-25 20:19

developer   ~0017514

Hi Willin

Please proceed in the order below.

1) Apply the following two patches to OS10 and build. emmc-unifykey-backup.zip
2) Write the Key on the built 1)FW.
3) Upgrade to OS12
   Verify that the written key is maintained in OS10.

we haven't done enough testing yet.
Please check it.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2025-04-28 14:15

developer   ~0017517

Hi Willin

Did you check test ?
The key has been updated normally, but YouTube chromecast may not work.
It is currently being checked.
Please check about AOSP key update.

And Please explain in detail how to write the key in FXN production line.
we have to check whether it is the same as this method or not.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2025-04-28 18:00

developer   ~0017518

Hi Willin

The current progress update is as follows.
First of all, I reported two issues to AML Kor.

1) When updating to OS12 after applying the emmc-unifykey-backup patch in OS10, the key value is maintained, but chromcast is not working.
   I have delivered issue log to AML Kor

2) When writing the following keys in OS12, sha256 is not writing normally.
   ===========================================================================
   ..
   2. For wvkey, get corresponding wv keys from keylist_SK168 file (e.g. 4246582...b47ec3b3)
     2.2 echo widevinekeybox > /sys/class/unifykeys/name
     2.3 echo $wv_key | xxd -p -r > /sys/class/unifykeys/write
  ..
  ===========================================================================
   I have delivered issue log to AML Kor

but I haven't received feedback from AML Kor yet.
I'll update you if there's anything

And when I tested it, there seems to be no problem with Key applied by FXN at the time of production.
please let me know if there is anything that can be a clue.

Thank you
YK.Jung

(SW) Willin Deng

2025-04-28 18:33

developer   ~0017519

Hi YK,
Status update:
1.the key change issue has been replicated: 1). burning the factory FW by usb buring tools, 2). write the device id & unify key, 3). OTA to OS12, 4) the device id unchanged, but unify key changed.
2.we are downloading the codes of OS 12 . we will pull the OS 10 code when OS12 download completed, and then apply the patches of "emmc-unifykey-backup", and proceed with keys burning.
3.the process for Keys burnin on the production line is roughly as follows: factory FW burnin --> write the MAC of Eth & BT --> write the Device ID , HDCP14 , Widevine Key , Playready Keys --> Network Function Test ... --> customer fw burin --> check & package.


Thank you

(ALTech) Younkwang Jung

2025-04-29 08:17

developer   ~0017520

HI Willin

>> 3.the process for Keys burnin on the production line is roughly as follows:
                factory FW burnin -->
                write the MAC of Eth & BT -->
                write the Device ID , HDCP14 , Widevine Key , Playready Keys --> <<----------------- Please further explain details on the commands and methods FXN use
                Network Function Test ... -->
                customer fw burin --> check & package.

Thank you
YK.Jung

Hank Huang (FXN)

2025-04-29 14:21

developer   ~0017523

Hi Younkwang

The details of writing keys are as follows:

#Device ID
echo deviceid > /sys/class/unifykeys/name
echo $deviceid > /sys/class/unifykeys/write

#HDCP14
echo hdcp > /sys/class/unifykeys/name
echo $hdcp14 | xxd -p -r > /sys/class/unifykeys/write

#Widevine Key
echo widevinekeybox > /sys/class/unifykeys/name
echo $wv_key | xxd -p -r > /sys/class/unifykeys/write

#Playready Keys
echo prprivkeybox > /sys/class/unifykeys/name
dd if=$priv_key_path of=/sys/class/unifykeys/write
echo "write playready private key $priv_key_path" > /dev/console

echo prpubkeybox > /sys/class/unifykeys/name
size=`stat -c "%s" $pub_key_path`
busybox dd if=$pub_key_path of=/sys/class/unifykeys/write bs=$size count=1
echo "write playready public key $pub_key_path $size" > /dev/console

Best Regards.
Hank

(ALTech) Younkwang Jung

2025-04-29 14:49

developer   ~0017524

Hi Hank

Thank you for update.
- is this method UHD4 or Smart3?
   (There's no way to use writeAttentionkey ??)
- Is there a difference between Smart3 and UHD4 in the type of keys that write during production?

Because of this issue, SKB has a strong complaint against us.
Please check it (ASAP)

Thank you
YK.Jung

Hank Huang (FXN)

2025-04-29 17:17

developer   ~0017525

Hi Younkwang

- is this method UHD4 or Smart3?
   (There's no way to use writeAttentionkey ??)
    >>Both are the same.The Attentionkey will be written after Playready Keys.
- Is there a difference between Smart3 and UHD4 in the type of keys that write during production?
  >>The production line process of Smart3 and UHD4 are the same.


Thank you
Hank

(ALTech) Younkwang Jung

2025-04-29 18:06

developer   ~0017526

Hi Hank , Willin

SKB is asking us to check the following.
- What kind of symptoms can occur if the Widevine key is wrong?
- What kind of symptoms can occur if the Attentionkey key is wrong?

Please let me know after checking

Thank you
YK.Jung

(ALTech) Younkwang Jung

2025-04-29 23:00

developer   ~0017527

Hi Willin,Hank

After applying the patch of 0017514, the key is ok(Sha256) in OS12, but Cast function is not working.
So I asked Soc to check and received feedback as below now.
============================================================================================
The Google cast function must match exactly the device information registered on Google.
Please first check if the device information upgraded to UHD4 --> Smart3 matches the information registered on Google.
============================================================================================

How should I check it ? , please let me know.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2025-05-01 09:05

developer   ~0017532

Last edited: 2025-05-01 09:06

View 2 revisions

Hi Willin,Hank

As we did the test, we changed almost UHD4 STB to Smart3.
There seems to be a difference in behavior when there is an existing UHD4 key
And for the whole test and repeat test, the UHD4 initial key state must be restored
So please share the 2 key pairs (deviceid , widevinekeybox,writeAttestaionkey) of real UHD4 keys for testing.

Thank you
YK.Jung

(SW) Willin Deng

2025-05-05 10:03

developer   ~0017533

Hi YK,
we sent a case request to google to inquire about issues to the whitelist for key and "untrusted device" of cast services last week.
google has responded to our email, requesting the DEVICE and KEYS information .
please provide details about the devices and keys of generating error messages "untrusted device".

Thank you.

(ALTech) Younkwang Jung

2025-05-05 14:07

developer   ~0017534

Last edited: 2025-05-05 14:08

View 2 revisions

HI Willin

I will update you on the progress so far
I received the contents of the SoC to try the following command if there is a problem with OS12

BFX-AT100:/ # tee_provision -q -t 0x11
[PROVISION-CA] query [0x11 WIDEVINE_KEY] provisioned in RPMB, length = 128 bytes

BFX-AT100:/ # tee_provision -d -t 0x11

When I used the above two commands, it was confirmed that BFX-AT100 worked properly at OS12
(we haven't tested it enough yet.)

the old key(AOSP) is backed up into the RPMB area in widevine TA's logic at OS12 , ( but we don't know the exact timing, )
And this old key (AOSP key) seems to continue to be used in widebine.
Therefore, when BFX-AT100 clears the key in RPMB area, it seems to work normally

If there's anything you can check about this, please check it

And we don't have the keys of BFX-UH200(AOSP). please share the two key pairs of BFX-UH200 for the repeat test,

Thank you
YK.Jung

(SW) Willin Deng

2025-05-05 15:09

developer   ~0017535

Hi YK,
AOSP does not support Widevine keys , it's not possible to apply Widevine key from Google for AOSP devices.
the Keys provided in Feb and Apr. are use for the AT100 (ATV) model.

Thank you.

(ALTech) Younkwang Jung

2025-05-05 19:26

developer   ~0017536

HI Willin

I updated the key from UHD4 to Smart3 once
How do I return it to the UHD4 original state on this next test?
All the UHD4 boxes that are already here have already been updated to smart3 key.
That's why I'm asking for a keys for UHD4.

If I put a Smart3 key in UHD4 and test it, the problem will not occur even if the key is not updated.
QA team can't check it during the repeat test.
So I am requesting an AOSP key to return to the original state of UHD4.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2025-05-07 15:09

developer   ~0017537

Hi Willin

Please give us your feedback about 0002028:0017526, which is SKB's confirmation request.

Thank you
YK.Jung

(SW) Willin Deng

2025-05-08 15:04

developer   ~0017538

- What kind of symptoms can occur if the Widevine key is wrong?
=== we use the exoplayer to check the key is available.
    if the key is wrong, the DRM sample will fail to play (black screen),
    the app will response with: "Playback error," "Unable to decrypt content," etc.
    the logcat error Messages: Widevine key invalid," "Decryption failed", etc.
- What kind of symptoms can occur if the Attentionkey key is wrong?
=== we use the google script and app(AttestationTestTool) to check the att key is available.
    if the key is ok, the script will show msg: 'Finished. Failures: 0',
    if the key is someting wrong, the script will print the error message like 'AttestationFailInfo','AttestationFail'.
    or the key is empty, the message will show 'Attestation test did not complete, check logcat to determine the source of the error'

Thank you

(ALTech) Younkwang Jung

2025-05-16 12:33

developer   ~0017547

Last edited: 2025-05-16 12:34

View 2 revisions

Hi Willin

There are additional things that need to be checked.

SKB has UHD4 STBs collected from the user.
Is it possible to convert UHD4 to Smart3 using the amlogic burning tool on UHD4 STBs?
   - it will be worked on it at ALT
   - only the key (deviceID/widevineKeybox/Attestation.keybox) required for Smart3 switching should be updated

Please check if it is possible.

Thank you
YK.Jung

(SW) Willin Deng

2025-05-16 14:13

developer   ~0017548

Hi YK,
       The sop we provide is the workflow for the production line.
       Currently, we don't have UDH4 boards available here.
       Please use the local boards and burning tools for testing and evaluating the results.
 
 Thank you

Issue History

Date Modified Username Field Change
2025-01-22 16:17 (ALTech) Younkwang Jung New Issue
2025-01-22 16:17 (ALTech) Younkwang Jung Status new => assigned
2025-01-22 16:17 (ALTech) Younkwang Jung Assigned To => (SW) Kinbay Wu
2025-01-22 16:18 (ALTech) Younkwang Jung Issue Monitored: (ALTech) Jong-Hwa JUNG
2025-01-22 16:18 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2025-01-22 16:18 (ALTech) Younkwang Jung Issue Monitored: (ALTech) Sangmin Choi
2025-01-22 16:18 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2025-01-22 16:18 (ALTech) Younkwang Jung Issue Monitored: (ALTech) Wooshin Kang
2025-01-22 16:18 (ALTech) Younkwang Jung Issue Monitored: (Sales) Miya Wang
2025-01-22 16:18 (ALTech) Younkwang Jung Issue Monitored: (SW) Kerwin Chen
2025-01-23 08:09 (ALTech) Younkwang Jung Note Added: 0017283
2025-01-23 09:17 (SW) Kinbay Wu Note Added: 0017285
2025-02-11 18:36 (SW) Liu-Ling Wang Note Added: 0017314
2025-02-11 18:36 (SW) Liu-Ling Wang File Added: ReadMe.txt
2025-02-11 19:09 (ALTech) Younkwang Jung Due Date 2025-01-23 17:13 => 2025-01-28 17:13
2025-02-11 19:15 (ALTech) Younkwang Jung Note Added: 0017315
2025-02-12 11:13 (PM) Sheila Tu Issue Monitored: (Sales) Jolly Huang
2025-02-12 17:17 (SW) Liu-Ling Wang Note Added: 0017320
2025-02-12 17:17 (SW) Liu-Ling Wang File Added: BFX-AT100_2019_002400001.keybox
2025-02-12 17:17 (SW) Liu-Ling Wang File Added: keylist_SK168-2units.txt
2025-02-12 18:53 (ALTech) Younkwang Jung Note Added: 0017322
2025-02-13 09:08 (ALTech) Younkwang Jung Note Added: 0017323
2025-02-13 09:08 (ALTech) Younkwang Jung File Added: image.png
2025-02-13 09:13 (ALTech) Younkwang Jung Note Edited: 0017323 View Revisions
2025-02-13 09:13 (ALTech) Younkwang Jung Note Edited: 0017323 View Revisions
2025-02-13 09:35 (ALTech) Younkwang Jung Due Date 2025-01-28 17:13 => 2025-02-21 17:13
2025-02-13 09:36 (PM) Sheila Tu Issue Monitored: (PM) Sheila Tu
2025-02-13 10:00 (SW) Liu-Ling Wang Note Added: 0017324
2025-02-13 10:00 (SW) Liu-Ling Wang File Added: writeAttestaionkey
2025-02-13 10:57 (ALTech) Younkwang Jung Note Added: 0017325
2025-02-13 10:57 (ALTech) Younkwang Jung File Added: image-2.png
2025-02-13 14:02 (SW) Liu-Ling Wang Note Added: 0017326
2025-02-13 14:02 (SW) Liu-Ling Wang File Added: SKB_Smart3_UHD2ATV_Keys.zip
2025-02-13 14:26 (ALTech) Younkwang Jung Note Added: 0017327
2025-02-13 14:26 (ALTech) Younkwang Jung File Added: image-3.png
2025-02-13 14:26 (ALTech) Younkwang Jung File Added: image-4.png
2025-02-13 15:59 (SW) Liu-Ling Wang Note Added: 0017329
2025-02-13 16:03 (ALTech) Younkwang Jung Note Added: 0017330
2025-02-13 16:37 (ALTech) Younkwang Jung Note Added: 0017331
2025-02-13 19:22 (ALTech) Younkwang Jung Note Added: 0017332
2025-02-19 13:53 (ALTech) Younkwang Jung Note Added: 0017339
2025-02-19 13:56 (ALTech) Younkwang Jung Note Edited: 0017339 View Revisions
2025-02-19 14:44 (SW) Liu-Ling Wang Note Added: 0017340
2025-02-19 15:28 (SW) Liu-Ling Wang Note Edited: 0017340
2025-02-19 16:51 (ALTech) Younkwang Jung Note Added: 0017341
2025-02-19 16:51 (ALTech) Younkwang Jung File Added: image-5.png
2025-02-19 17:00 (PM) Sheila Tu Issue End Monitor: (Sales) Jolly Huang
2025-02-19 17:05 (SW) Liu-Ling Wang Note Added: 0017344
2025-02-19 17:28 (ALTech) Younkwang Jung Note Edited: 0017339 View Revisions
2025-02-19 17:41 (ALTech) Younkwang Jung Note Edited: 0017341 View Revisions
2025-02-19 17:52 (ALTech) Younkwang Jung Note View State: 0017341: private
2025-02-19 17:54 (ALTech) Younkwang Jung Note View State: 0017341: public
2025-02-19 18:11 (SW) Liu-Ling Wang Note Added: 0017345
2025-04-07 10:20 (SW) Kerwin Chen Assigned To (SW) Kinbay Wu => (SW) Willin Deng
2025-04-21 13:09 (ALTech) JunGyu Kim Note Added: 0017493
2025-04-21 18:31 (ALTech) Younkwang Jung Priority high => urgent
2025-04-21 18:31 (ALTech) Younkwang Jung Due Date 2025-02-21 17:13 => 2025-04-23 17:13
2025-04-22 15:24 Hank Huang (FXN) Note Added: 0017500
2025-04-22 18:09 (ALTech) Younkwang Jung Note Added: 0017501
2025-04-22 18:09 (ALTech) Younkwang Jung File Added: wv_key.sh
2025-04-22 18:09 (ALTech) Younkwang Jung File Added: image-6.png
2025-04-22 18:23 (ALTech) Younkwang Jung Note Added: 0017502
2025-04-23 10:28 Hank Huang (FXN) Note Added: 0017503
2025-04-23 11:13 (ALTech) Younkwang Jung Note Added: 0017504
2025-04-23 11:27 Hank Huang (FXN) Note Added: 0017505
2025-04-23 15:47 (ALTech) Younkwang Jung Note Added: 0017506
2025-04-23 16:51 Hank Huang (FXN) Note Added: 0017507
2025-04-23 19:19 (ALTech) Younkwang Jung Note Added: 0017508
2025-04-23 19:19 (ALTech) Younkwang Jung File Added: how_to_FW_upgrade.pdf
2025-04-24 08:03 (ALTech) Younkwang Jung Due Date 2025-04-23 17:13 => 2025-04-24 17:13
2025-04-24 16:00 Hank Huang (FXN) Note Added: 0017509
2025-04-25 08:57 (ALTech) Younkwang Jung Note Added: 0017511
2025-04-25 08:57 (ALTech) Younkwang Jung File Added: image-7.png
2025-04-25 08:58 (ALTech) Younkwang Jung Note Edited: 0017511 View Revisions
2025-04-25 10:28 (ALTech) Younkwang Jung Note Added: 0017512
2025-04-25 10:29 (ALTech) Younkwang Jung Due Date 2025-04-24 17:13 => 2025-04-25 17:13
2025-04-25 18:33 (SW) Willin Deng Note Added: 0017513
2025-04-25 20:19 (ALTech) Younkwang Jung Note Added: 0017514
2025-04-25 20:19 (ALTech) Younkwang Jung File Added: emmc-unifykey-backup.zip
2025-04-28 14:15 (ALTech) Younkwang Jung Note Added: 0017517
2025-04-28 18:00 (ALTech) Younkwang Jung Note Added: 0017518
2025-04-28 18:33 (SW) Willin Deng Note Added: 0017519
2025-04-29 08:17 (ALTech) Younkwang Jung Note Added: 0017520
2025-04-29 08:18 (ALTech) Younkwang Jung Due Date 2025-04-25 17:13 => 2025-04-29 17:13
2025-04-29 14:21 Hank Huang (FXN) Note Added: 0017523
2025-04-29 14:49 (ALTech) Younkwang Jung Note Added: 0017524
2025-04-29 17:17 Hank Huang (FXN) Note Added: 0017525
2025-04-29 18:06 (ALTech) Younkwang Jung Note Added: 0017526
2025-04-29 23:00 (ALTech) Younkwang Jung Note Added: 0017527
2025-04-29 23:00 (ALTech) Younkwang Jung Due Date 2025-04-29 17:13 => 2025-04-30 17:13
2025-05-01 09:05 (ALTech) Younkwang Jung Note Added: 0017532
2025-05-01 09:05 (ALTech) Younkwang Jung Due Date 2025-04-30 17:13 => 2025-05-01 17:13
2025-05-01 09:06 (ALTech) Younkwang Jung Note Edited: 0017532 View Revisions
2025-05-02 07:46 (ALTech) Younkwang Jung Due Date 2025-05-01 17:13 => 2025-05-02 17:13
2025-05-05 10:03 (SW) Willin Deng Note Added: 0017533
2025-05-05 10:03 (SW) Willin Deng File Added: Screenshot from 2025-05-05 09-52-49.png
2025-05-05 14:07 (ALTech) Younkwang Jung Note Added: 0017534
2025-05-05 14:08 (ALTech) Younkwang Jung Note Edited: 0017534 View Revisions
2025-05-05 15:09 (SW) Willin Deng Note Added: 0017535
2025-05-05 19:26 (ALTech) Younkwang Jung Note Added: 0017536
2025-05-07 15:09 (ALTech) Younkwang Jung Note Added: 0017537
2025-05-07 15:09 (ALTech) Younkwang Jung Due Date 2025-05-02 17:13 => 2025-05-09 17:13
2025-05-08 15:04 (SW) Willin Deng Note Added: 0017538
2025-05-16 12:33 (ALTech) Younkwang Jung Note Added: 0017547
2025-05-16 12:33 (ALTech) Younkwang Jung Due Date 2025-05-09 17:13 => 2025-05-19 17:13
2025-05-16 12:34 (ALTech) Younkwang Jung Note Edited: 0017547 View Revisions
2025-05-16 14:13 (SW) Willin Deng Note Added: 0017548
2025-07-04 17:00 (PM) Sheila Tu Status assigned => closed
2025-07-04 17:00 (PM) Sheila Tu Resolution open => fixed